package noname;

/**
 * Change the rootPath variable for your local machine.
 * Create required directories.
 */
public class ConfigSettings {
    
    private volatile static ConfigSettings instance;
    //private String rootPath = "D:\\Development\\AGSRoute\\"; //path Ies
    private String rootPath = "G:\\ags_resources\\"; //path Rein
    
    private ConfigSettings() {/*No public access*/}
    
    public static ConfigSettings getInstance() {
        if (instance == null) {
            synchronized (ConfigSettings.class) {
                if (instance == null) {
                    instance = new ConfigSettings();
                }
            }
        }
        return instance;
    }
    
    public String getMapImagePath() {
        return rootPath + "map_images\\";
    }
    
    public String getRoutePath() {
        return rootPath + "routes\\";
    }
    
    public String getMultimediaImagePath(){
        return rootPath + "multimedia\\image\\";
    }
    
    public String getMultimediaTextPath(){
        return rootPath + "multimedia\\text\\";
    }
        
    public String getMultimediaAudioPath(){
        return rootPath + "multimedia\\audio\\";
    }
    
    public String getMultimediaVideoPath(){
        return rootPath + "multimedia\\video\\";
    }  
}
